<!DOCTYPE html>
<html>
  
  <head>
    <meta charset="UTF-8">
    <title>欢迎页面-X-admin2.0</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
 <link rel="stylesheet" href="../static/css/back/font.css">
    <link rel="stylesheet" href="../static/css/back/xadmin.css">
    <script type="text/javascript" src="../static/js/jquery-2.1.1.min.js"></script>
    
    <script type="text/javascript" src="../static/js/back/xadmin.js"></script>
    <script type="text/javascript" src="../static/js/back/activity-list.js"></script>
    <!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
    <!--[if lt IE 9]>
      <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
      <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
<style type="text/css">
tbody  tr{
	height: 80px;
}
tbody tr td{
	    border-width: 1px 0 !important;
}
.layui-table td, .layui-table th{
	text-align: left  !important; 
}
.act3{
	    position: absolute;
    width: 300px;
    left: 17px;
    margin-top: 10px;
    color: #999;
    font-size: 11px;
}
.xin{
	color: #fff;
    border: 1px #fff solid;
    border-radius: 5px;
    background-color: #06ce3e;
    padding: 6px;
    margin-right: 10px;
}
.out{
    background-color: pink;
}
.room{
	background-color: #e608d5;
}
.zhe{
	background-color: #green;
}
.danpin{
	background-color: #F50;
}
</style>
  </head>
  
  <body>
    <div class="x-nav">
      <span class="layui-breadcrumb">
        <a href="javascript:;">首页</a>
        <a href="javascript:;">系统管理</a>
        <a href="javascript:;"><cite>管理员设置</cite></a>
      </span>
      <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right" href="javascript:location.replace(location.href);" title="刷新">
        <i class="iconfont icon-refresh right-top-ref" ></i></a>
    </div>
    <div class="x-body">
      <form class="layui-form layui-col-md12 x-so">
      		<div class="layui-form-item">
<!-- 			      <label class="layui-form-label"><span class="x-red">*</span>权限组</label> -->
				      <table class="layui-table">
				        <thead>
				          <tr>
<!-- 				            <th> -->
<!-- 				              <div class="layui-unselect header layui-form-checkbox" lay-skin="primary"><i class="layui-icon">&#xe605;</i></div> -->
<!-- 				            </th> -->
				            <th>活动名称</th>
				            <th style="width: 320px;">活动内容</th>
				            <th>类型</th>
				            <th>状态</th>
				            <th style="width: 100px;">操作</th>
				        </thead>
				        <tbody>
				        	<tr id="act-1">
					            <td><span class="xin">新</span>本店新客立减</td>
					            <td>本店新用户下单立减<span>x</span>元</td>
					            <td>外卖活动</td>
					            <td>已开启</td>
					            <td>
					              <a title="编辑" id="edit-1"  onclick="x_admin_show('本店新客立减活动','shop-activity-edit.html?type=edit&actType=1',500,200)" href="javascript:;">
					                <i class="iconfont x-blue-1">修改</i> 
					              </a>
					              <a title="开启" data-status="" id="ud-1" onclick="member_ud(this)" href="javascript:;">
					                 <i class="iconfont">开启</i> 
					              </a>
					            </td>
					         </tr>
				        	<tr id="act-2">
					            <td><span class="xin out">减</span>满减活动</td>
					            <td>满xx减xx元</td>
					            <td>外卖活动</td>
					            <td>已关闭</td>
					            <td>
					              <a title="编辑" id="edit-2"  onclick="x_admin_show('外卖-满减活动','shop-activity-edit.html?type=edit&actType=2',500,500)" href="javascript:;">
					                <i class="iconfont x-blue-1">修改</i> 
					              </a>
					              <a title="开启" data-status="" id="ud-2" onclick="member_ud(this)" href="javascript:;">
					                 <i class="iconfont">开启</i> 
					              </a>
					            </td>
					         </tr>
				        	<tr id="act-3">
					            <td><span class="xin danpin">折</span>单品折扣 <br><span class="act3">注: 该优惠不与其他优惠活动叠加同享</span></td>
					            <td><span>0</span>个商品参与活动</td>
					            <td>外卖活动</td>
					            <td>已关闭</td>
					            <td>
					              <a title="编辑" id="edit-3"  onclick="x_admin_show('外卖-单品折扣 ','shop-activity-edit.html?type=edit&actType=3',751,500)" href="javascript:;">
					                <i class="iconfont x-blue-1">修改</i> 
					              </a>
					              <a title="开启" data-status="1" id="ud-3" actt-id='3' onclick="member_ud(this)" href="javascript:;">
					                 <i class="iconfont">开启</i> 
					              </a>
					            </td>
					         </tr>
				        	<tr id="act-4">
					            <td><span class="xin room">减</span>满减活动</td>
					            <td>满xx减xx元</td>
					            <td>堂食活动</td>
					            <td>已关闭</td>
					            <td>
					              <a title="编辑" id="edit-4"  onclick="x_admin_show('堂食-满减活动','shop-activity-edit.html?type=edit&actType=4',500,500)" href="javascript:;">
					                <i class="iconfont x-blue-1">修改</i> 
					              </a>
					              <a title="开启" data-status="" id="ud-4" onclick="member_ud(this)" href="javascript:;">
					                 <i class="iconfont">开启</i> 
					              </a>
					            </td>
					         </tr>
				        	<tr id="act-5">
					            <td><span class="xin zhe">折</span>堂食折扣</td>
					            <td>堂食<span>x</span>折优惠买单</td>
					            <td>堂食活动</td>
					            <td>已关闭</td>
					            <td>
					              <a title="编辑" id="edit-5"  onclick="x_admin_show('堂食-堂食折扣','shop-activity-edit.html?type=edit&actType=5',451,240)" href="javascript:;">
					                <i class="iconfont x-blue-1">修改</i> 
					              </a>
					              <a title="开启" data-status="" id="ud-5" onclick="member_ud(this)" href="javascript:;">
					                 <i class="iconfont">开启</i> 
					              </a>
					            </td>
					         </tr>
					         
				        </tbody>
				      </table>
				      <div class="layui-form-mid layui-word-aux no-more-data hide">暂无更多数据</div>
				      <div class="page mypage" ></div> 
		      	</div>
          </form>
      </div>
    <script>
      layui.use('laydate', function(){
        var laydate = layui.laydate;
        
        //执行一个laydate实例
        laydate.render({
          elem: '#start' //指定元素
        });

        //执行一个laydate实例
        laydate.render({
          elem: '#end' //指定元素
        });
      });
    </script>

  </body>

</html>